<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cid')}:</label>
        <div class="col-xs-12 col-sm-8">
<!--            <input id="c-cid" data-rule="required" data-source="sensitive/words/catelist" class="form-control selectpage" name="row[cid]" type="text" value="">-->
            {:build_select('row[cid]', $wordcategory_data, null, ['class'=>'form-control', "data-rule"=>'required'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!--            <input id="c-cid" data-rule="required" data-source="sensitive/words/catelist" class="form-control selectpage" name="row[cid]" type="text" value="">-->
            {:build_select('row[level]', $level_list, null, ['class'=>'form-control', "data-rule"=>'required'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Words')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-words" class="form-control" data-rule="required" name="row[words]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Right_Words')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-right_words" class="form-control" data-rule="required" name="row[right_words]" type="text" value="">
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Created_at')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-created_at" class="form-control" name="row[created_at]" type="number">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Updated_at')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-updated_at" class="form-control" name="row[updated_at]" type="number">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
